<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="common/include :: header('查看部门详情')" />
</head>
<body class="white-bg">
	<div class="wrapper wrapper-content animated fadeInRight ibox-content">
		<form class="form-horizontal m" id="form-employee-detail" th:object="${employee}">
			<input id="employeeId" name="employeeId" type="hidden" th:field="*{id}"/>
			<div class="form-group">
				<label class="col-sm-3 control-label">部门名称：</label>
				<div class="col-sm-8">
					<span th:text="*{dept.name}"></span>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">部门编号：</label>
				<div class="col-sm-8">
					<span th:text="*{dept.sn}"></span>
				</div>
			</div>
		</form>
	</div>
	<th:block th:include="common/include :: footer" />
	<script type="text/javascript">
		var prefix = ctx + "/business/employee";

		function submitHandler() {
	        if ($.validate.form()) {
	        	$.operate.save(prefix + "/detail", $('#form-employee-detail').serialize());
	        }
	    }
	</script>
</body>
</html>
